#include "Event.h"


Event::Event(EventType type): _type(type)
{
}


Event::~Event(void)
{
}


bool Event::operator< (const Event& other)
{
	return _actionTime < other.getActionTime();
}
bool Event::operator<= (const Event& other)
{
	return _actionTime <= other.getActionTime();
}
bool Event::operator> (const Event& other)
{
	return _actionTime > other.getActionTime();
}

bool Event::operator>= (const Event& other)
{
	return _actionTime >= other.getActionTime();
}

bool Event::operator==( const Event& other )
{
	return _actionTime == other.getActionTime();
}

